.class public Les/yn;
.super Ljava/lang/Object;
.source "FileNotificationBarManager.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Les/yn$f;,
        Les/yn$g;
    }
.end annotation


# static fields
.field private static u:Les/yn; = null

.field public static v:Ljava/lang/String; = "notificationbar"


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:Ljava/lang/String;

.field private final c:Ljava/lang/String;

.field private d:Ljava/lang/Runnable;

.field private e:Ljava/lang/String;

.field private f:D

.field private g:Les/yn$f;

.field private h:Les/mo;

.field private i:J

.field private j:I

.field private k:I

.field private final l:Ljava/lang/String;

.field private m:Landroid/os/Handler;

.field private n:Landroid/widget/RemoteViews;

.field private o:Les/ev;

.field private p:Ljava/lang/Runnable;

.field private q:I

.field private r:Les/h70;

.field private s:Lcom/estrongs/android/pop/FexApplication;

.field private t:Landroid/content/BroadcastReceiver;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method private constructor <init>()V
    .locals 5

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "com.estrongs.android.pop.newfile.notification.cancelordel.action"

    .line 2
    iput-object v0, p0, Les/yn;->a:Ljava/lang/String;

    const-string v0, "com.estrongs.android.pop.newfile.notification.click.action"

    .line 3
    iput-object v0, p0, Les/yn;->b:Ljava/lang/String;

    const-string v0, "notification_id"

    .line 4
    iput-object v0, p0, Les/yn;->c:Ljava/lang/String;

    const-string v0, "01"

    .line 5
    iput-object v0, p0, Les/yn;->e:Ljava/lang/String;

    const-wide/high16 v1, 0x4090000000000000L    # 1024.0

    .line 6
    iput-wide v1, p0, Les/yn;->f:D

    const-wide/32 v1, 0x493e0

    .line 7
    iput-wide v1, p0, Les/yn;->i:J

    const/16 v1, 0xa

    .line 8
    iput v1, p0, Les/yn;->j:I

    const/16 v2, 0x1e

    .line 9
    iput v2, p0, Les/yn;->k:I

    const-string v3, "SP_KEY_NOTIFICATION_SHOW_TIME"

    .line 10
    iput-object v3, p0, Les/yn;->l:Ljava/lang/String;

    .line 11
    new-instance v3, Les/yn$a;

    invoke-direct {v3, p0}, Les/yn$a;-><init>(Les/yn;)V

    iput-object v3, p0, Les/yn;->p:Ljava/lang/Runnable;

    const/4 v3, 0x0

    .line 12
    iput v3, p0, Les/yn;->q:I

    .line 13
    invoke-static {}, Lcom/estrongs/android/util/o0;->a()Landroid/os/Handler;

    move-result-object v3

    iput-object v3, p0, Les/yn;->m:Landroid/os/Handler;

    .line 14
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v3

    iput-object v3, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    .line 15
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v3

    const-string v4, "key_new_file_notificationbar_style"

    .line 16
    invoke-virtual {v3, v4, v0}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Les/yn;->e:Ljava/lang/String;

    const-string v0, "key_new_file_notificationbar_percent_first"

    .line 17
    invoke-virtual {v3, v0, v1}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Les/yn;->j:I

    const-string v0, "key_new_file_notificationbar_percent_second"

    .line 18
    invoke-virtual {v3, v0, v2}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Les/yn;->k:I

    .line 19
    invoke-direct {p0}, Les/yn;->h()V

    return-void
.end method

.method private a()Landroid/content/Intent;
    .locals 4

    .line 73
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    const-string v1, "action"

    const-string v2, "show_file_log"

    .line 74
    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const/4 v1, 0x1

    const-string v2, "showAd"

    .line 75
    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    const-string v2, "showSetting"

    .line 76
    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 77
    sget-object v1, Les/yn;->v:Ljava/lang/String;

    const-string v2, "input"

    invoke-virtual {v0, v2, v1}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 78
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const-class v3, Lcom/estrongs/android/pop/app/openscreenad/NewSplashActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/high16 v2, 0x14000000

    .line 79
    invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    const-string v2, "key_extra_bundle"

    .line 80
    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;

    return-object v1
.end method

.method private a(JLjava/lang/String;)Ljava/lang/CharSequence;
    .locals 8

    .line 107
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v1, 0x7f110743

    invoke-virtual {v0, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v0

    :try_start_0
    const-string v1, "%1$s"

    .line 108
    invoke-virtual {v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v2

    const/4 v3, -0x1

    if-eq v2, v3, :cond_0

    const/4 v3, 0x0

    .line 109
    invoke-virtual {v0, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v4

    add-int/lit8 v2, v2, 0x4

    .line 110
    invoke-virtual {v0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    const-string v5, "<font color=\'#ef5028\'>"

    const-string v6, "</font>"

    .line 111
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    .line 112
    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    aput-object p1, v2, v3

    const/4 p1, 0x1

    aput-object p3, v2, p1

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p1

    :catch_0
    :cond_0
    return-object v0
.end method

.method private a(Les/ev;)Ljava/lang/String;
    .locals 3

    .line 133
    invoke-virtual {p1}, Les/dv;->g()Ljava/lang/String;

    move-result-object p1

    .line 134
    invoke-static {}, Lcom/estrongs/android/util/h0;->f()Ljava/util/List;

    move-result-object v0

    .line 135
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    if-eqz p1, :cond_0

    .line 136
    invoke-virtual {p1, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    const-string v0, ""

    .line 137
    invoke-virtual {p1, v1, v0}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p1

    .line 138
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "/sdcard"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    :cond_1
    return-object p1
.end method

.method static synthetic a(Les/yn;Ljava/lang/String;IJ)Ljava/lang/String;
    .locals 0

    .line 2
    invoke-direct {p0, p1, p2, p3, p4}, Les/yn;->a(Ljava/lang/String;IJ)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private a(Ljava/lang/String;IJ)Ljava/lang/String;
    .locals 3

    .line 113
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v1, 0x7f110742

    invoke-virtual {v0, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 114
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const-string p1, "app"

    :cond_0
    const/4 v1, 0x3

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    aput-object p1, v1, v2

    const/4 p1, 0x1

    .line 115
    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    aput-object p2, v1, p1

    const/4 p1, 0x2

    invoke-static {p3, p4}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p2

    aput-object p2, v1, p1

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method private a(Les/ev;I)V
    .locals 6

    .line 25
    iget-object v0, p0, Les/yn;->h:Les/mo;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/notification/c;->b()I

    move-result v0

    const-string v1, "com.estrongs.android.pop.newfile.notification.click.action"

    .line 26
    invoke-direct {p0, v1}, Les/yn;->b(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v1

    const-string v2, "notification_id"

    .line 27
    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 28
    iget-object v0, p0, Les/yn;->e:Ljava/lang/String;

    const-string v2, "style"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 29
    invoke-direct {p0, p1}, Les/yn;->d(Les/ev;)Ljava/lang/String;

    move-result-object v0

    const-string v3, "type"

    invoke-virtual {v1, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string v0, "text"

    .line 30
    invoke-virtual {v1, v0, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 31
    invoke-virtual {p1}, Les/dv;->g()Ljava/lang/String;

    move-result-object v4

    const-string v5, "path"

    invoke-virtual {v1, v5, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 32
    iget-object v4, p0, Les/yn;->h:Les/mo;

    const/4 v5, 0x0

    invoke-virtual {v4, v1, v5}, Les/mo;->b(Landroid/content/Intent;Z)V

    .line 33
    invoke-direct {p0}, Les/yn;->g()V

    .line 34
    iget-object v1, p0, Les/yn;->h:Les/mo;

    iget-object v4, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    invoke-virtual {v1, v4}, Lcom/estrongs/android/ui/notification/c;->a(Landroid/widget/RemoteViews;)V

    .line 35
    iget-object v1, p0, Les/yn;->h:Les/mo;

    invoke-virtual {v1}, Les/mo;->g()V

    const/4 v1, 0x0

    .line 36
    iput-object v1, p0, Les/yn;->o:Les/ev;

    .line 37
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v1

    const-string v4, "act5"

    invoke-virtual {v1, v4}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;)V

    .line 38
    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    const-string v4, "eventValue"

    const-string v5, "show"

    .line 39
    invoke-virtual {v1, v4, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 40
    iget-object v4, p0, Les/yn;->e:Ljava/lang/String;

    invoke-virtual {v1, v2, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 41
    invoke-direct {p0, p1}, Les/yn;->d(Les/ev;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v3, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 42
    invoke-virtual {v1, v0, p2}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;

    .line 43
    invoke-static {}, Lcom/estrongs/android/statistics/b;->b()Lcom/estrongs/android/statistics/b;

    move-result-object v0

    const-string v2, "newfile_noti_show"

    invoke-virtual {v0, v2, v1}, Lcom/estrongs/android/statistics/b;->c(Ljava/lang/String;Lorg/json/JSONObject;)V

    const-string v0, "notificationreport"

    .line 44
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "show style:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Les/yn;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " type:"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    .line 45
    invoke-direct {p0, p1}, Les/yn;->d(Les/ev;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, " text:"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 46
    invoke-static {v0, p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 47
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method private a(Les/ev;Landroid/content/pm/PackageInfo;Les/yn$g;)V
    .locals 9

    .line 116
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {v0}, Landroid/app/Application;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    iget-object v1, p2, Landroid/content/pm/PackageInfo;->applicationInfo:Landroid/content/pm/ApplicationInfo;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/utils/k;->a(Landroid/content/pm/PackageManager;Landroid/content/pm/ApplicationInfo;)Ljava/lang/String;

    move-result-object v8

    .line 117
    new-instance v0, Les/d20;

    invoke-direct {v0}, Les/d20;-><init>()V

    const-string v1, "appfolder://"

    .line 118
    invoke-virtual {v0, v1}, Les/d20;->b(Ljava/lang/String;)V

    .line 119
    new-instance v1, Lcom/estrongs/fs/h$a;

    invoke-direct {v1}, Lcom/estrongs/fs/h$a;-><init>()V

    .line 120
    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    .line 121
    :try_start_0
    new-instance v2, Les/c20;

    invoke-direct {v2}, Les/c20;-><init>()V

    const/4 v3, 0x0

    .line 122
    invoke-virtual {v2, v0, v1, v3}, Les/c20;->a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 123
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/fs/g;

    .line 124
    check-cast v5, Les/e20;

    .line 125
    iget-object v6, v5, Les/e20;->p:Landroid/content/pm/ApplicationInfo;

    iget-object v6, v6, Landroid/content/pm/ApplicationInfo;->packageName:Ljava/lang/String;

    iget-object v7, p2, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    .line 126
    invoke-virtual {v2, v5, v1, v3}, Les/c20;->a(Lcom/estrongs/fs/g;Lcom/estrongs/fs/h;Lcom/estrongs/android/util/TypedMap;)Ljava/util/List;

    move-result-object v5

    invoke-interface {v4, v5}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z
    :try_end_0
    .catch Lcom/estrongs/fs/FileSystemException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p2

    .line 127
    invoke-virtual {p2}, Ljava/lang/Exception;->printStackTrace()V

    .line 128
    :cond_1
    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result p2

    if-eqz p2, :cond_2

    .line 129
    new-instance p1, Les/yn$e;

    invoke-static {}, Lcom/estrongs/fs/f;->d()Lcom/estrongs/fs/f;

    move-result-object v5

    const/4 v6, 0x1

    move-object v2, p1

    move-object v3, p0

    move-object v7, p3

    invoke-direct/range {v2 .. v8}, Les/yn$e;-><init>(Les/yn;Ljava/util/List;Lcom/estrongs/fs/f;ZLes/yn$g;Ljava/lang/String;)V

    iput-object p1, p0, Les/yn;->r:Les/h70;

    .line 130
    sget p2, Les/h70;->R:I

    invoke-virtual {p1, p2}, Les/h70;->b(I)V

    .line 131
    iget-object p1, p0, Les/yn;->r:Les/h70;

    invoke-virtual {p1}, Les/s80;->d()V

    goto :goto_1

    .line 132
    :cond_2
    invoke-direct {p0, p1}, Les/yn;->a(Les/ev;)Ljava/lang/String;

    move-result-object p1

    const/4 p2, 0x7

    invoke-interface {p3, p1, p2}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    :goto_1
    return-void
.end method

.method private a(Les/ev;Landroid/graphics/Bitmap;)V
    .locals 1

    .line 48
    invoke-direct {p0}, Les/yn;->d()V

    .line 49
    iget-object v0, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    invoke-direct {p0, p1, v0}, Les/yn;->a(Les/ev;Landroid/widget/RemoteViews;)V

    .line 50
    iget-object v0, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    invoke-direct {p0, p1, v0, p2}, Les/yn;->a(Les/ev;Landroid/widget/RemoteViews;Landroid/graphics/Bitmap;)V

    .line 51
    iget-object p2, p0, Les/yn;->e:Ljava/lang/String;

    iget-object v0, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    invoke-direct {p0, p2, v0}, Les/yn;->b(Ljava/lang/String;Landroid/widget/RemoteViews;)V

    .line 52
    iget-object p2, p0, Les/yn;->e:Ljava/lang/String;

    iget-object v0, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    invoke-direct {p0, p2, v0}, Les/yn;->a(Ljava/lang/String;Landroid/widget/RemoteViews;)V

    .line 53
    new-instance p2, Les/yn$d;

    invoke-direct {p2, p0, p1}, Les/yn$d;-><init>(Les/yn;Les/ev;)V

    invoke-direct {p0, p1, p2}, Les/yn;->a(Les/ev;Les/yn$g;)V

    return-void
.end method

.method private a(Les/ev;Landroid/widget/RemoteViews;)V
    .locals 3

    .line 62
    invoke-direct {p0, p1}, Les/yn;->b(Les/ev;)Ljava/lang/String;

    move-result-object v0

    .line 63
    invoke-virtual {p1}, Les/ev;->t()J

    move-result-wide v1

    invoke-static {v1, v2}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object p1

    const v1, 0x7f090875

    .line 64
    invoke-virtual {p2, v1, v0}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    const v0, 0x7f090873

    .line 65
    invoke-virtual {p2, v0, p1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    return-void
.end method

.method private a(Les/ev;Landroid/widget/RemoteViews;Landroid/graphics/Bitmap;)V
    .locals 5

    .line 54
    iget-object v0, p0, Les/yn;->e:Ljava/lang/String;

    invoke-direct {p0, v0}, Les/yn;->d(Ljava/lang/String;)Z

    move-result v0

    .line 55
    invoke-virtual {p1}, Les/ev;->o()I

    move-result v1

    const/4 v2, 0x1

    if-eq v1, v2, :cond_9

    const/4 v3, 0x2

    if-eq v1, v3, :cond_7

    const/4 v3, 0x3

    if-eq v1, v3, :cond_5

    const/4 v3, 0x5

    if-eq v1, v3, :cond_3

    const/4 v3, 0x6

    if-eq v1, v3, :cond_1

    if-eqz v0, :cond_0

    const v1, 0x7f080596

    goto :goto_0

    :cond_0
    const v1, 0x7f0806fa

    goto :goto_0

    :cond_1
    if-eqz v0, :cond_2

    const v1, 0x7f080591

    goto :goto_0

    :cond_2
    const v1, 0x7f0806f1

    goto :goto_0

    :cond_3
    if-eqz v0, :cond_4

    const v1, 0x7f08059c

    goto :goto_0

    :cond_4
    const v1, 0x7f0806f7

    goto :goto_0

    :cond_5
    if-eqz v0, :cond_6

    const v1, 0x7f08059b

    goto :goto_0

    :cond_6
    const v1, 0x7f08070b

    goto :goto_0

    :cond_7
    if-eqz v0, :cond_8

    const v1, 0x7f080599

    goto :goto_0

    :cond_8
    const v1, 0x7f080704

    goto :goto_0

    :cond_9
    if-eqz v0, :cond_a

    const v1, 0x7f080597

    goto :goto_0

    :cond_a
    const v1, 0x7f0806ff

    :goto_0
    const v3, 0x7f090870

    if-eqz p3, :cond_b

    .line 56
    invoke-virtual {p3}, Landroid/graphics/Bitmap;->isRecycled()Z

    move-result v4

    if-nez v4, :cond_b

    .line 57
    invoke-virtual {p1}, Les/ev;->o()I

    move-result p1

    if-ne v2, p1, :cond_b

    if-eqz v0, :cond_b

    .line 58
    :try_start_0
    invoke-static {p3}, Les/fy;->a(Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;

    move-result-object p3
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception p1

    .line 59
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 60
    :goto_1
    invoke-virtual {p2, v3, p3}, Landroid/widget/RemoteViews;->setImageViewBitmap(ILandroid/graphics/Bitmap;)V

    goto :goto_2

    .line 61
    :cond_b
    invoke-virtual {p2, v3, v1}, Landroid/widget/RemoteViews;->setImageViewResource(II)V

    :goto_2
    return-void
.end method

.method private a(Les/ev;Les/yn$g;)V
    .locals 11

    if-nez p2, :cond_0

    return-void

    .line 81
    :cond_0
    invoke-virtual {p1}, Les/ev;->o()I

    move-result v0

    const v1, 0x7f110740

    const/4 v2, 0x6

    const/4 v3, 0x2

    if-ne v0, v2, :cond_1

    .line 82
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {p1, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p2, p1, v3}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    return-void

    .line 83
    :cond_1
    invoke-virtual {p1}, Les/dv;->g()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Les/yn;->c(Ljava/lang/String;)I

    move-result v0

    .line 84
    iget v4, p0, Les/yn;->j:I

    const/4 v5, 0x1

    if-ge v0, v4, :cond_2

    .line 85
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v0, 0x7f110741

    invoke-virtual {p1, v0}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-array v0, v5, [Ljava/lang/Object;

    const/4 v1, 0x0

    .line 86
    iget v2, p0, Les/yn;->j:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v0, v1

    invoke-static {p1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x5

    invoke-interface {p2, p1, v0}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    goto/16 :goto_3

    .line 87
    :cond_2
    iget v4, p0, Les/yn;->k:I

    const/4 v6, 0x7

    if-gt v0, v4, :cond_a

    .line 88
    invoke-direct {p0, p1}, Les/yn;->c(Les/ev;)J

    move-result-wide v7

    .line 89
    invoke-direct {p0, p1}, Les/yn;->e(Les/ev;)Z

    move-result v0

    const v4, 0x7f110212

    const-wide/16 v9, -0x1

    if-eqz v0, :cond_4

    cmp-long p1, v7, v9

    if-nez p1, :cond_3

    goto :goto_0

    :cond_3
    const v4, 0x7f110218

    .line 90
    :goto_0
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {p1, v4}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    .line 91
    invoke-direct {p0, v7, v8, p1}, Les/yn;->a(JLjava/lang/String;)Ljava/lang/CharSequence;

    move-result-object p1

    .line 92
    invoke-interface {p2, p1, v5}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    goto :goto_3

    .line 93
    :cond_4
    invoke-virtual {p1}, Les/ev;->o()I

    move-result v0

    if-ne v0, v2, :cond_5

    .line 94
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {p1, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p2, p1, v3}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    goto :goto_3

    .line 95
    :cond_5
    invoke-virtual {p1}, Les/ev;->o()I

    move-result v0

    const/4 v1, 0x3

    if-ne v0, v1, :cond_7

    cmp-long p1, v7, v9

    if-nez p1, :cond_6

    goto :goto_1

    :cond_6
    const v4, 0x7f110215

    .line 96
    :goto_1
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {p1, v4}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    .line 97
    invoke-direct {p0, v7, v8, p1}, Les/yn;->a(JLjava/lang/String;)Ljava/lang/CharSequence;

    move-result-object p1

    .line 98
    invoke-interface {p2, p1, v1}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    goto :goto_3

    .line 99
    :cond_7
    invoke-virtual {p1}, Les/ev;->o()I

    move-result v0

    if-ne v0, v3, :cond_9

    cmp-long p1, v7, v9

    if-nez p1, :cond_8

    goto :goto_2

    :cond_8
    const v4, 0x7f110216

    .line 100
    :goto_2
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {p1, v4}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    .line 101
    invoke-direct {p0, v7, v8, p1}, Les/yn;->a(JLjava/lang/String;)Ljava/lang/CharSequence;

    move-result-object p1

    const/4 v0, 0x4

    .line 102
    invoke-interface {p2, p1, v0}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    goto :goto_3

    .line 103
    :cond_9
    invoke-direct {p0, p1}, Les/yn;->a(Les/ev;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p2, p1, v6}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    goto :goto_3

    .line 104
    :cond_a
    invoke-virtual {p1}, Les/ev;->r()Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0, v0}, Les/yn;->e(Ljava/lang/String;)Landroid/content/pm/PackageInfo;

    move-result-object v0

    if-eqz v0, :cond_b

    .line 105
    invoke-direct {p0, p1, v0, p2}, Les/yn;->a(Les/ev;Landroid/content/pm/PackageInfo;Les/yn$g;)V

    goto :goto_3

    .line 106
    :cond_b
    invoke-direct {p0, p1}, Les/yn;->a(Les/ev;)Ljava/lang/String;

    move-result-object p1

    invoke-interface {p2, p1, v6}, Les/yn$g;->a(Ljava/lang/CharSequence;I)V

    :goto_3
    return-void
.end method

.method static synthetic a(Les/yn;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Les/yn;->l()V

    return-void
.end method

.method static synthetic a(Les/yn;Les/ev;I)V
    .locals 0

    .line 6
    invoke-direct {p0, p1, p2}, Les/yn;->a(Les/ev;I)V

    return-void
.end method

.method static synthetic a(Les/yn;Les/ev;Landroid/graphics/Bitmap;)V
    .locals 0

    .line 4
    invoke-direct {p0, p1, p2}, Les/yn;->a(Les/ev;Landroid/graphics/Bitmap;)V

    return-void
.end method

.method static synthetic a(Les/yn;Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)V
    .locals 0

    .line 5
    invoke-direct {p0, p1, p2}, Les/yn;->a(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)V

    return-void
.end method

.method private a(Ljava/lang/CharSequence;Landroid/widget/RemoteViews;)V
    .locals 2

    .line 69
    iget-object v0, p0, Les/yn;->e:Ljava/lang/String;

    const-string v1, "05"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const v1, 0x7f090874

    if-eqz v0, :cond_0

    .line 70
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v0, 0x7f110ac5

    invoke-virtual {p1, v0}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    .line 71
    invoke-virtual {p2, v1, p1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    goto :goto_0

    .line 72
    :cond_0
    invoke-virtual {p2, v1, p1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    :goto_0
    return-void
.end method

.method private a(Ljava/lang/String;Landroid/widget/RemoteViews;)V
    .locals 1

    const-string v0, "01"

    .line 66
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "02"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 67
    :cond_0
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v0, 0x7f110719

    invoke-virtual {p1, v0}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    const v0, 0x7f090ca9

    .line 68
    invoke-virtual {p2, v0, p1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    :cond_1
    return-void
.end method

.method static synthetic a(Les/yn;Ljava/lang/String;)Z
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Les/yn;->d(Ljava/lang/String;)Z

    move-result p0

    return p0
.end method

.method private b(Ljava/lang/String;)Landroid/content/Intent;
    .locals 1

    .line 30
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 31
    invoke-virtual {v0, p1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    return-object v0
.end method

.method public static b()Les/yn;
    .locals 2

    .line 2
    sget-object v0, Les/yn;->u:Les/yn;

    if-nez v0, :cond_1

    .line 3
    const-class v0, Les/yn;

    monitor-enter v0

    .line 4
    :try_start_0
    sget-object v1, Les/yn;->u:Les/yn;

    if-nez v1, :cond_0

    .line 5
    new-instance v1, Les/yn;

    invoke-direct {v1}, Les/yn;-><init>()V

    sput-object v1, Les/yn;->u:Les/yn;

    .line 6
    :cond_0
    monitor-exit v0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1

    .line 7
    :cond_1
    :goto_0
    sget-object v0, Les/yn;->u:Les/yn;

    return-object v0
.end method

.method private b(Les/ev;)Ljava/lang/String;
    .locals 4

    .line 19
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v1, 0x7f110744

    invoke-virtual {v0, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 20
    iget-object v1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/FexApplication;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f030011

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    .line 21
    invoke-virtual {p1}, Les/ev;->o()I

    move-result p1

    const/4 v2, 0x1

    const/4 v3, 0x0

    packed-switch p1, :pswitch_data_0

    .line 22
    iget-object p1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v1, 0x7f110212

    invoke-virtual {p1, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object p1

    goto :goto_0

    :pswitch_0
    const/4 p1, 0x3

    .line 23
    aget-object p1, v1, p1

    goto :goto_0

    :pswitch_1
    const/4 p1, 0x5

    .line 24
    aget-object p1, v1, p1

    goto :goto_0

    :pswitch_2
    const/4 p1, 0x4

    .line 25
    aget-object p1, v1, p1

    goto :goto_0

    .line 26
    :pswitch_3
    aget-object p1, v1, v2

    goto :goto_0

    :pswitch_4
    const/4 p1, 0x2

    .line 27
    aget-object p1, v1, p1

    goto :goto_0

    .line 28
    :pswitch_5
    aget-object p1, v1, v3

    :goto_0
    new-array v1, v2, [Ljava/lang/Object;

    aput-object p1, v1, v3

    .line 29
    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object p1

    return-object p1

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_5
        :pswitch_4
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method static synthetic b(Les/yn;)Ljava/lang/String;
    .locals 0

    .line 1
    iget-object p0, p0, Les/yn;->e:Ljava/lang/String;

    return-object p0
.end method

.method private b(Ljava/lang/String;Landroid/widget/RemoteViews;)V
    .locals 3

    const-string v0, "04"

    .line 14
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 15
    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object p1

    const/16 v0, 0xb

    .line 16
    invoke-virtual {p1, v0}, Ljava/util/Calendar;->get(I)I

    move-result v0

    const/16 v1, 0xc

    .line 17
    invoke-virtual {p1, v1}, Ljava/util/Calendar;->get(I)I

    move-result p1

    const v1, 0x7f090d13

    .line 18
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v0, ":"

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p2, v1, p1}, Landroid/widget/RemoteViews;->setTextViewText(ILjava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method private b(Les/ev;Z)Z
    .locals 6

    const/4 v0, 0x0

    if-eqz p1, :cond_4

    .line 11
    invoke-virtual {p1}, Les/ev;->t()J

    move-result-wide v1

    const-wide/16 v3, 0x0

    cmp-long v5, v1, v3

    if-nez v5, :cond_0

    goto :goto_0

    :cond_0
    const/4 v1, 0x1

    if-eqz p2, :cond_1

    return v1

    .line 12
    :cond_1
    invoke-direct {p0}, Les/yn;->f()Z

    move-result p2

    if-eqz p2, :cond_3

    .line 13
    invoke-virtual {p1}, Les/ev;->t()J

    move-result-wide p1

    const-wide/16 v2, 0x400

    div-long/2addr p1, v2

    long-to-double p1, p1

    iget-wide v2, p0, Les/yn;->f:D

    cmpl-double v4, p1, v2

    if-lez v4, :cond_2

    return v1

    :cond_2
    return v0

    :cond_3
    return v1

    :cond_4
    :goto_0
    return v0
.end method

.method private c()I
    .locals 5

    .line 2
    iget-object v0, p0, Les/yn;->e:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v1

    const/4 v2, 0x3

    const/4 v3, 0x2

    const/4 v4, 0x1

    packed-switch v1, :pswitch_data_0

    goto :goto_0

    :pswitch_0
    const-string v1, "05"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x3

    goto :goto_1

    :pswitch_1
    const-string v1, "04"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x2

    goto :goto_1

    :pswitch_2
    const-string v1, "03"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_1

    :pswitch_3
    const-string v1, "02"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    goto :goto_1

    :cond_0
    :goto_0
    const/4 v0, -0x1

    :goto_1
    if-eqz v0, :cond_4

    if-eq v0, v4, :cond_3

    if-eq v0, v3, :cond_2

    if-eq v0, v2, :cond_1

    const v0, 0x7f0c02a6

    goto :goto_2

    :cond_1
    const v0, 0x7f0c02aa

    goto :goto_2

    :cond_2
    const v0, 0x7f0c02a9

    goto :goto_2

    :cond_3
    const v0, 0x7f0c02a8

    goto :goto_2

    :cond_4
    const v0, 0x7f0c02a7

    :goto_2
    return v0

    :pswitch_data_0
    .packed-switch 0x602
        :pswitch_3
        :pswitch_2
        :pswitch_1
        :pswitch_0
    .end packed-switch
.end method

.method private c(Ljava/lang/String;)I
    .locals 4

    .line 8
    invoke-static {p1}, Lcom/estrongs/fs/util/f;->h(Ljava/lang/String;)[J

    move-result-object p1

    const/4 v0, 0x0

    .line 9
    aget-wide v0, p1, v0

    long-to-float v0, v0

    const/4 v1, 0x1

    .line 10
    aget-wide v1, p1, v1

    long-to-float v1, v1

    const/4 v2, 0x2

    .line 11
    aget-wide v2, p1, v2

    long-to-float p1, v2

    mul-float v1, v1, p1

    mul-float v0, v0, p1

    div-float/2addr v1, v0

    const/high16 p1, 0x42c80000    # 100.0f

    mul-float v1, v1, p1

    float-to-int p1, v1

    return p1
.end method

.method private c(Les/ev;)J
    .locals 5

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v0

    .line 4
    invoke-static {v0}, Lcom/estrongs/fs/util/f;->h(Ljava/lang/String;)[J

    move-result-object v0

    const/4 v1, 0x1

    .line 5
    aget-wide v1, v0, v1

    const/4 v3, 0x2

    aget-wide v3, v0, v3

    mul-long v1, v1, v3

    .line 6
    invoke-virtual {p1}, Les/ev;->t()J

    move-result-wide v3

    .line 7
    div-long/2addr v1, v3

    return-wide v1
.end method

.method static synthetic c(Les/yn;)Les/h70;
    .locals 0

    .line 1
    iget-object p0, p0, Les/yn;->r:Les/h70;

    return-object p0
.end method

.method static synthetic d(Les/yn;)Les/mo;
    .locals 0

    .line 1
    iget-object p0, p0, Les/yn;->h:Les/mo;

    return-object p0
.end method

.method private d(Les/ev;)Ljava/lang/String;
    .locals 1

    .line 14
    invoke-virtual {p1}, Les/ev;->o()I

    move-result p1

    const/4 v0, 0x1

    if-eq p1, v0, :cond_4

    const/4 v0, 0x2

    if-eq p1, v0, :cond_3

    const/4 v0, 0x3

    if-eq p1, v0, :cond_2

    const/4 v0, 0x5

    if-eq p1, v0, :cond_1

    const/4 v0, 0x6

    if-eq p1, v0, :cond_0

    const-string p1, "d"

    goto :goto_0

    :cond_0
    const-string p1, "a"

    goto :goto_0

    :cond_1
    const-string p1, "c"

    goto :goto_0

    :cond_2
    const-string p1, "v"

    goto :goto_0

    :cond_3
    const-string p1, "m"

    goto :goto_0

    :cond_4
    const-string p1, "i"

    :goto_0
    return-object p1
.end method

.method private d()V
    .locals 5

    .line 2
    new-instance v0, Les/mo;

    iget-object v1, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const/4 v2, 0x0

    const/4 v3, 0x1

    invoke-direct {v0, v1, v2, v3}, Les/mo;-><init>(Landroid/content/Context;ZZ)V

    iput-object v0, p0, Les/yn;->h:Les/mo;

    .line 3
    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/notification/c;->a(Z)V

    .line 4
    iget-object v0, p0, Les/yn;->h:Les/mo;

    const v1, 0x7f0807af

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/notification/c;->a(I)V

    .line 5
    iget-object v0, p0, Les/yn;->h:Les/mo;

    invoke-virtual {v0}, Lcom/estrongs/android/ui/notification/c;->b()I

    move-result v0

    const-string v1, "com.estrongs.android.pop.newfile.notification.cancelordel.action"

    .line 6
    invoke-direct {p0, v1}, Les/yn;->b(Ljava/lang/String;)Landroid/content/Intent;

    move-result-object v1

    const-string v4, "notification_id"

    .line 7
    invoke-virtual {v1, v4, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    .line 8
    iget-object v0, p0, Les/yn;->h:Les/mo;

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/notification/c;->a(Landroid/content/Intent;Z)V

    .line 9
    iget-object v0, p0, Les/yn;->h:Les/mo;

    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/notification/c;->c(I)V

    .line 10
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    const v1, 0x7f110621

    invoke-virtual {v0, v1}, Landroid/app/Application;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 11
    iget-object v1, p0, Les/yn;->h:Les/mo;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/ui/notification/c;->c(Ljava/lang/CharSequence;)V

    .line 12
    invoke-direct {p0}, Les/yn;->c()I

    move-result v0

    .line 13
    new-instance v1, Landroid/widget/RemoteViews;

    iget-object v2, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {v2}, Landroid/app/Application;->getPackageName()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2, v0}, Landroid/widget/RemoteViews;-><init>(Ljava/lang/String;I)V

    iput-object v1, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    return-void
.end method

.method private d(Ljava/lang/String;)Z
    .locals 1

    const-string v0, "01"

    .line 15
    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_0

    const/4 p1, 0x0

    return p1

    :cond_0
    const/4 p1, 0x1

    return p1
.end method

.method static synthetic e(Les/yn;)Landroid/content/Intent;
    .locals 0

    .line 1
    invoke-direct {p0}, Les/yn;->a()Landroid/content/Intent;

    move-result-object p0

    return-object p0
.end method

.method private e(Ljava/lang/String;)Landroid/content/pm/PackageInfo;
    .locals 2

    .line 12
    :try_start_0
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {v0}, Landroid/app/Application;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;

    move-result-object p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 13
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    const/4 p1, 0x0

    :goto_0
    return-object p1
.end method

.method private e()Z
    .locals 7

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-wide/16 v1, -0x1

    .line 3
    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    const-string v4, "SP_KEY_NOTIFICATION_SHOW_TIME"

    invoke-virtual {v0, v4, v3}, Lcom/estrongs/android/pop/o;->a(Ljava/lang/String;Ljava/lang/Long;)J

    move-result-wide v3

    .line 4
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v5

    cmp-long v0, v3, v1

    if-eqz v0, :cond_1

    sub-long/2addr v5, v3

    .line 5
    iget-wide v0, p0, Les/yn;->i:J

    cmp-long v2, v5, v0

    if-lez v2, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    return v0

    :cond_1
    :goto_0
    const/4 v0, 0x0

    return v0
.end method

.method private e(Les/ev;)Z
    .locals 3

    .line 6
    invoke-virtual {p1}, Les/ev;->r()Ljava/lang/String;

    move-result-object v0

    .line 7
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    return v2

    .line 8
    :cond_0
    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    .line 9
    invoke-virtual {p1}, Les/ev;->o()I

    move-result p1

    const/4 v1, 0x1

    if-ne p1, v1, :cond_2

    const-string p1, "DCIM"

    .line 10
    invoke-virtual {p1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result p1

    if-nez p1, :cond_1

    const-string p1, "Screenshots"

    .line 11
    invoke-virtual {p1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_2

    :cond_1
    return v1

    :cond_2
    return v2
.end method

.method static synthetic f(Les/yn;)Landroid/widget/RemoteViews;
    .locals 0

    .line 1
    iget-object p0, p0, Les/yn;->n:Landroid/widget/RemoteViews;

    return-object p0
.end method

.method private f(Les/ev;)V
    .locals 3

    .line 2
    invoke-direct {p0}, Les/yn;->k()Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {p1}, Les/eo;->a(Les/ev;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iput-object p1, p0, Les/yn;->o:Les/ev;

    .line 4
    iget p1, p0, Les/yn;->q:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Les/yn;->q:I

    return-void

    .line 5
    :cond_0
    invoke-direct {p0}, Les/yn;->j()V

    .line 6
    invoke-direct {p0}, Les/yn;->m()V

    .line 7
    invoke-direct {p0}, Les/yn;->i()V

    .line 8
    new-instance v0, Les/yn$b;

    invoke-direct {v0, p0, p1}, Les/yn$b;-><init>(Les/yn;Les/ev;)V

    iput-object v0, p0, Les/yn;->d:Ljava/lang/Runnable;

    .line 9
    invoke-static {}, Lcom/estrongs/android/util/o0;->a()Landroid/os/Handler;

    move-result-object p1

    .line 10
    iget-object v0, p0, Les/yn;->d:Ljava/lang/Runnable;

    const-wide/16 v1, 0xa

    invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method

.method private f()Z
    .locals 2

    .line 11
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "new_file_notificationbar_setting"

    .line 12
    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;)Ljava/util/Set;

    move-result-object v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    return v0

    :cond_0
    const-string v1, "1MB"

    .line 13
    invoke-interface {v0, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v0

    return v0
.end method

.method private g()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/yn;->t:Landroid/content/BroadcastReceiver;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/yn$c;

    invoke-direct {v0, p0}, Les/yn$c;-><init>(Les/yn;)V

    iput-object v0, p0, Les/yn;->t:Landroid/content/BroadcastReceiver;

    .line 3
    new-instance v0, Landroid/content/IntentFilter;

    const-string v1, "com.estrongs.android.pop.newfile.notification.cancelordel.action"

    invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V

    const-string v1, "com.estrongs.android.pop.newfile.notification.click.action"

    .line 4
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 5
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    iget-object v2, p0, Les/yn;->t:Landroid/content/BroadcastReceiver;

    invoke-virtual {v1, v2, v0}, Landroid/app/Application;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 6
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_0
    :goto_0
    return-void
.end method

.method private h()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/yn;->g:Les/yn$f;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Les/yn$f;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Les/yn$f;-><init>(Les/yn;Les/yn$a;)V

    iput-object v0, p0, Les/yn;->g:Les/yn$f;

    .line 3
    new-instance v0, Landroid/content/IntentFilter;

    invoke-direct {v0}, Landroid/content/IntentFilter;-><init>()V

    const-string v1, "android.intent.action.SCREEN_ON"

    .line 4
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v1, "android.intent.action.SCREEN_OFF"

    .line 5
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    const-string v1, "android.intent.action.USER_PRESENT"

    .line 6
    invoke-virtual {v0, v1}, Landroid/content/IntentFilter;->addAction(Ljava/lang/String;)V

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v1

    iget-object v2, p0, Les/yn;->g:Les/yn$f;

    invoke-virtual {v1, v2, v0}, Landroid/app/Application;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;

    :cond_0
    return-void
.end method

.method private i()V
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/util/o0;->a()Landroid/os/Handler;

    move-result-object v0

    .line 2
    iget-object v1, p0, Les/yn;->d:Ljava/lang/Runnable;

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    :cond_0
    return-void
.end method

.method private j()V
    .locals 4

    .line 1
    iget-object v0, p0, Les/yn;->m:Landroid/os/Handler;

    iget-object v1, p0, Les/yn;->p:Ljava/lang/Runnable;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V

    .line 2
    iget-object v0, p0, Les/yn;->m:Landroid/os/Handler;

    iget-object v1, p0, Les/yn;->p:Ljava/lang/Runnable;

    iget-wide v2, p0, Les/yn;->i:J

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    return-void
.end method

.method private k()Z
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/FexApplication;->n()Lcom/estrongs/android/pop/FexApplication;

    move-result-object v0

    const-string v1, "power"

    invoke-virtual {v0, v1}, Landroid/app/Application;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/os/PowerManager;

    .line 2
    invoke-virtual {v0}, Landroid/os/PowerManager;->isScreenOn()Z

    move-result v0

    return v0
.end method

.method private l()V
    .locals 1

    .line 1
    iget v0, p0, Les/yn;->q:I

    if-lez v0, :cond_0

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Les/yn;->q:I

    .line 3
    iget-object v0, p0, Les/yn;->o:Les/ev;

    if-eqz v0, :cond_0

    .line 4
    invoke-direct {p0, v0}, Les/yn;->f(Les/ev;)V

    :cond_0
    return-void
.end method

.method private m()V
    .locals 3

    .line 1
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v2

    .line 3
    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    const-string v1, "SP_KEY_NOTIFICATION_SHOW_TIME"

    invoke-virtual {v2, v1, v0}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;Ljava/lang/Long;)V

    return-void
.end method


# virtual methods
.method public a(F)F
    .locals 1

    .line 20
    iget-object v0, p0, Les/yn;->s:Lcom/estrongs/android/pop/FexApplication;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/FexApplication;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    mul-float p1, p1, v0

    const/high16 v0, 0x3f000000    # 0.5f

    add-float/2addr p1, v0

    return p1
.end method

.method public a(I)V
    .locals 2

    .line 17
    iput p1, p0, Les/yn;->j:I

    .line 18
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "key_new_file_notificationbar_percent_first"

    .line 19
    invoke-virtual {v0, v1, p1}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;I)V

    return-void
.end method

.method public a(Les/ev;Z)V
    .locals 1

    .line 7
    invoke-direct {p0, p1, p2}, Les/yn;->b(Les/ev;Z)Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    .line 8
    :cond_0
    iget-object v0, p0, Les/yn;->h:Les/mo;

    if-eqz v0, :cond_3

    invoke-virtual {v0}, Lcom/estrongs/android/ui/notification/c;->e()Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 v0, 0x0

    if-eqz p2, :cond_1

    .line 9
    iput v0, p0, Les/yn;->q:I

    .line 10
    invoke-direct {p0, p1}, Les/yn;->f(Les/ev;)V

    goto :goto_0

    .line 11
    :cond_1
    invoke-direct {p0}, Les/yn;->e()Z

    move-result p2

    if-eqz p2, :cond_2

    .line 12
    iput-object p1, p0, Les/yn;->o:Les/ev;

    .line 13
    iget p1, p0, Les/yn;->q:I

    add-int/lit8 p1, p1, 0x1

    iput p1, p0, Les/yn;->q:I

    goto :goto_0

    .line 14
    :cond_2
    iput v0, p0, Les/yn;->q:I

    .line 15
    invoke-direct {p0, p1}, Les/yn;->f(Les/ev;)V

    goto :goto_0

    .line 16
    :cond_3
    invoke-direct {p0, p1}, Les/yn;->f(Les/ev;)V

    :goto_0
    return-void
.end method

.method public a(Ljava/lang/String;)V
    .locals 2

    .line 21
    invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 22
    iput-object p1, p0, Les/yn;->e:Ljava/lang/String;

    .line 23
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object p1

    .line 24
    iget-object v0, p0, Les/yn;->e:Ljava/lang/String;

    const-string v1, "key_new_file_notificationbar_style"

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public b(I)V
    .locals 2

    .line 8
    iput p1, p0, Les/yn;->k:I

    .line 9
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const-string v1, "key_new_file_notificationbar_percent_second"

    .line 10
    invoke-virtual {v0, v1, p1}, Lcom/estrongs/android/pop/o;->b(Ljava/lang/String;I)V

    return-void
.end method
